import React from 'react'
import ReactDOM from 'react-dom/client'
import {HashRouter} from 'react-router-dom'
import {Provider} from 'react-redux'
import App from '@/App'
import 'normalize.css'
import '@/assets/css/index.less'
import store from "@/store/store";
import {ThemeProvider} from 'styled-components'
import theme from "@/assets/theme/theme";
const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
)
root.render(
  <React.StrictMode>
    <Provider store={store}>
      <ThemeProvider theme={theme}>
        <HashRouter>
          <App/>
        </HashRouter>
      </ThemeProvider>
    </Provider>
  </React.StrictMode>
)
